import axios from "axios";

export function addApplication(name, day) {
    return axios.post(`http://localhost:8081/doctor/apply/${name}/${day}`);
}
export function getApplications() {
    return axios.get('http://localhost:8081/director/list/');
}

